class CoachClasshour < ApplicationRecord
	validates :classhour, :charge,  presence: {message: "该项不能为空"}
	# validates_uniqueness_of :classhour, scope: :coach_id, message: "课时已存在"
end
